package com.sangeng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sangeng.domain.core.ResponseResult;
import com.sangeng.domain.dto.RoleInsertDto;
import com.sangeng.domain.dto.RoleListDto;
import com.sangeng.domain.dto.RoleStatusDto;
import com.sangeng.domain.dto.RoleUpdateDto;
import com.sangeng.domain.entity.Role;

/**
 * 角色信息表(Role)表服务接口
 *
 * @author makejava
 * @since 2025-06-26 16:12:33
 */
public interface RoleService extends IService<Role> {

    ResponseResult listAllRoles(RoleListDto roleListDto);

    ResponseResult changeStatus(RoleStatusDto roleStatusDto);

    ResponseResult insertRole(RoleInsertDto role);

    ResponseResult getRoleById(Long id);

    ResponseResult updateRole(RoleUpdateDto roleUpdateDto);

    ResponseResult removeRoleById(Long id);

    ResponseResult listAllRole();
}

